package acc_dao

import "time"

type Room struct {
	Id        int       `json:"id" gorm:"primary_key" description:"自增主键"`
	Number    string    `json:"number" gorm:"column:number" description:"聊天室编号"`
	Name      string    `json:"name" gorm:"column:name" description:"聊天室名称"`
	IsDelete  int       `json:"is_delete" gorm:"column:is_delete" description:"是否删除"`
	CreatedAt time.Time `json:"create_at" gorm:"column:create_at" description:"创建时间"`
}

func (r *Room) TableName() string {
	return "chat_room_room"
}
